package com.wx.activitys.drp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wx.activitys.drp.mapper.BProfitMapper;
import com.wx.activitys.drp.model.BProfit;
import com.wx.activitys.drp.service.BProfitService;


@Service("/BProfitService")
public class BProfitServiceImpl implements BProfitService {
    @Autowired
    BProfitMapper bProfitMapper;

	@Override
	public List<BProfit> queryPageList(BProfit entity) {
		
		return bProfitMapper.queryPageList(entity);
	}

	@Override
	public int selectCount(BProfit entity) {
		// TODO Auto-generated method stub
		return bProfitMapper.selectCount(entity);
	}

	@Override
	public int insert(BProfit entity) {
		// TODO Auto-generated method stub
		//entity.setId(DigitalSignature.getUUID());
		//entity.setCreateTime(new Date());
		return bProfitMapper.insert(entity);
	}

	@Override
	public int update(BProfit entity) {
		// TODO Auto-generated method stub
		return bProfitMapper.update(entity);
	}

	@Override
	public BProfit selectEntity(BProfit entity) {
		// TODO Auto-generated method stub
		return bProfitMapper.selectEntity(entity);
	}

	@Override
	public int delete(BProfit entity) {
		// TODO Auto-generated method stub
		return bProfitMapper.delete(entity);
	}

	@Override
	public List<BProfit> queryALL(BProfit entity) {
		// TODO Auto-generated method stub
		return bProfitMapper.queryALL(entity);
	}



}
